package it.lapomuge.db.entity;

import it.lapomuge.db.dao.DbEntity;

import java.io.Serializable;
import javax.persistence.*;

import java.util.List;


/**
 * The persistent class for the gara database table.
 * 
 */
@Entity
public class Gara implements Serializable, DbEntity {
	private static final long serialVersionUID = 1L;

	@Id	
	private Integer id;

	private String nome;

	private String stato;

	//bi-directional many-to-one association to Manche
	@OneToMany(mappedBy="gara")
	private List<Manche> manches;

	public Gara() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNome() {
		return this.nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public String getStato() {
		return this.stato;
	}

	public void setStato(String stato) {
		this.stato = stato;
	}

	
	

}